﻿
@{
    Layout = null;
}

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Layui</title>
    <script type="text/javascript" src="../javascript/jquery-1.7.2.js"></script>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link href="~/layui/css/layui.css" rel="stylesheet" />

    <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
    <script src="~/layui/layui.js"></script>
    <!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
</head>
<body>
    <div id="test1" class="demo-tree demo-tree-box"></div>


    <script>
        layui.use(['tree', 'util'], function () {
            var tree = layui.tree
                , layer = layui.layer
                , util = layui.util
                //模拟数据1
                , data1 = [{
                    title: '招聘管理'
                    , id: 1
                    , children: [{
                        title: '职位发布管理'
                        , id: 1
                        , children: [{
                            title: '职位发布登记'
                            , href: '/Position/Position_register'


                        }, {
                            title: '职位发布变更'
                            , href: '/Position/position_change_update'

                        }, {
                            title: '职位发布查询'
                            , href: '/Position/position_release_search'

                        }]
                    }, {
                        title: '简历管理'
                        , id: 1
                        , children: [{
                            title: '简历登记'
                            , href: '/recruit/resume/register'

                        }, {
                            title: '简历筛选'
                            , href: '/recruit/resume/resume-choose'

                        }, {
                            title: '有效简历查询'
                            , href: '/recruit/resume/valid-resume'

                        }]
                    }, {
                        title: '面试管理'
                        , id: 1
                        , children: [{
                            title: '面试结果登记'
                            , href: '/recruit/interview/interview-list'

                        }, {
                            title: '面试筛选'
                            , href: '/recruit/interview/sift-list'

                        }]
                    }, {
                        title: '录用管理'
                        , id: 1
                        , children: [{
                            title: '录用申请'
                            , href: '/recruit/employ/register_list'

                        }, {
                            title: '录用审批'
                            , href: '/recruit/employ/check_list'

                        }, {
                            title: '录用查询'
                            , href: '/recruit/employ/list'

                        }]
                    }]
                }, {
                    title: '人力资源档案管理'
                    , id: 1
                    , children: [{
                        title: '人力资源档案登记'
                        , href: '/humanResources/human_register'

                    }, {
                        title: '人力资源档案登记复核'
                        , href: '/humanResources/check_list'

                    }, {
                        title: '人力资源档案查询'
                        , href: '/humanResources/query_locate'

                    }, {
                        title: '人力资源档案变更'
                        , href: '/humanResources/change_locate'
                    }, {
                        title: '人力资源档案删除管理'
                        , children: [{
                            title: '人力资源档案删除'
                            , href: '/humanResources/delete_locate'

                        }, {
                            title: '档案删除恢复'
                            , href: '/humanResources/recovery_locate'

                        }, {
                            title: '人力资源档案永久删除'
                            , href: '/humanResources/delete_forever_list'

                        }]
                    }]
                    }, {
                      
                    title: '薪酬标准管理'
                    , id: 1
                    , children: [{
                        title: '薪酬标准登记'
                        , href: '/salaryCriterion/salarystandard'

                    }, {
                        title: '薪酬标准登记复核'
                        , href: '/salaryCriterion/salarystandard_change_list'
                    }, {
                        title: '薪酬标准查询'
                        , href: '/salaryCriterion/salarystandard_query_locate'
                    }, {
                        title: '薪酬标准变更'
                        , href: '/salaryCriterion/salarystandard_change_locate'

                    }]
                }, {
                    title: '薪酬发放管理'
                    , id: 1
                    , children: [{
                        title: '薪酬发放登记'
                        , href: '/salaryGrant/register_locate'

                    }, {
                        title: '薪酬发放登记复核'
                        , href: '/salaryGrant/check_list'

                    }, {
                        title: '薪酬发放查询'
                        , href: '/salaryGrant/query_locate'

                    }]
                }, {
                    title: '调动管理'
                    , id: 1
                    , children: [{
                        title: '调动登记'
                        , href: '/transfer/register_locate.html'

                    }, {
                        title: '调动审核'
                        , href: '/transfer/check_list.html'

                    }, {
                        title: '调动查询'
                        , href: '/transfer/locate.html'

                    }]
                }, {
                    title: '客户化设置'
                    , id: 1
                    , children: [{
                        title: '人力资源档案管理设置',
                        children: [{
                            title: 'Ⅰ级机构设置'
                            , href: '/client/first_kind'

                        }, {
                            title: 'Ⅱ级机构设置'
                            , href: '/client/second_kind'

                        }, {
                            title: 'Ⅲ级机构设置'
                            , href: '/client/third_kind'

                        }, {
                            title: '职称设置'
                            , href: '/client/profession_design'

                        }, {
                            title: '职位分类设置'
                            , href: '/client/major_kind'

                        }, {
                            title: '职位设置'
                            , href: '/client/major'

                        }]
                    }, {
                        title: '薪酬管理设置'
                        , children: [{
                            title: '薪酬项目设置'
                            , href: '/Client/salary_item'

                        }, {
                            title: '薪酬发放方式设置'
                            , href: '/client/salary_grant_mode'
                        }]
                    }, {
                        title: '其他设置'
                        , children: [{
                            title: '关键字查询设置'
                            , href: '/Client/salary_item'
                        }]
                    }]
                }, {
                    title: '标准数据报表',
                    children: [{
                        title: 'Excel标准数据报表'
                        , href: '/criterionData/excel_locate'
                    }, {
                        title: 'Pdf标准数据报表'
                        , href: '/criterionData/pdf_locate'

                    }, {
                        title: 'Xml标准数据报表'
                        , href: '/criterionData/xml_locate'

                    }]
                }, {
                    title: '权限管理',
                    children: [{
                        title: '用户管理'
                        , href: '/power/user_list'
                    }, {
                        title: '角色管理'
                        , href: '/power/right_list'

                    }]
                }]
            //无连接线风格
            tree.render({
                elem: '#test1'
                , isJump: true
                , data: data1
                , showLine: false  //是否开启连接线
            });

            /* //手风琴模式
             tree.render({
                 elem: '#test4'
                 , isJump: true
                 , data: [{
                     title: '职位发布管理'
                     , children: [{
                         title: '职位发布登记',
                         href: '/salaryCriterion/salarystandard'
                     }, {
                         title: '90 ~ 100'
                     }]
                 }, {
                     title: '良好'
                     , children: [{
                         title: '薪酬发放登记复核',
                         href: '/salaryGrant/check_list'
                     }, {
                         title: '60 ~ 70'
                     }]
                 }, {
                     title: '要努力奥'
                     , children: [{
                         title: '0 ~ 60'
                     }]
                 }]
                 , accordion: true
             });*/



        });
    </script>

</body>
</html>
